import axios from "axios";

const request = axios.create({
    baseURL: "https://private.vhost189.datalink.cc",
    timeout: 5000,
})

request.interceptors.request.use(
    (config) => {
        config.headers["user-token"] = "large_screen";
        return config;
    }
)

request.interceptors.response.use(res=>{
    return res.data;
})
export default request;